package com.pc.admin.controller;

import com.pc.admin.entity.UserPo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "操作接口")
@RestController
@RequestMapping("hs")
public class SwaggerController {

    @PostMapping("/getUser")
    @ApiOperation("获取用户信息")
    public UserPo getUser(UserPo po){
        return po;
    }
}
